package com.it235.pojo;

import java.util.List;

/**
 * 城市
 * 
 * 带你轻松学Java：知码学院
 * www.it235.com
 * QQ：2012904276
 */
public class CityBean {

	//城市代码
	private String cityCode;
	
	//城市名称
	private String cityName;
	
	//该城市所属省份代码
	private String provinceCode;

	//该城市下的所有区县
	private List<AreaBean> areas;
	
	public List<AreaBean> getAreas() {
		return areas;
	}

	public void setAreas(List<AreaBean> areas) {
		this.areas = areas;
	}

	public String getCityCode() {
		return cityCode;
	}

	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getProvinceCode() {
		return provinceCode;
	}

	public void setProvinceCode(String provinceCode) {
		this.provinceCode = provinceCode;
	}

	@Override
	public String toString() {
		return "CityBean [cityCode=" + cityCode + ", cityName=" + cityName + ", provinceCode=" + provinceCode + "]";
	}
	
}
